package cn.ecut.service;

import cn.ecut.model.Alumni;
import cn.ecut.model.Scholarship;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScholarshipService {
    List<Alumni> selectAllAlumni();
    Integer addScholarship(Scholarship scholarship);
    List<Scholarship> selectAllScholarship(int offset, int num);
    Integer selectAllcount();
    Integer updataResidu(Integer sid,Integer sum);
    Integer updataScholarship(Scholarship scholarship);
    Integer deleteBySid(Integer sid);
    List<Scholarship> advanceSelect(String s,int offset,int num);
    Integer advanceSelectCount(String s);
    Scholarship selectDetailScholarshipBySid(Integer sid);
}
